package com.hyc.gchatsystem.service;

import com.hyc.gchatsystem.medel.ReqModel;
import com.hyc.gchatsystem.medel.RespModel;

/**
 * @projectName: gchatsystem
 * @package: com.hyc.gchatsystem.service
 * @className: ChatService
 * @author: 冷环渊 doomwatcher
 * @description: TODO
 * @date: 2022/4/21 17:35
 * @version: 1.0
 */

public interface ChatService {
    //新增用户
    void addUser(ReqModel reqModel, RespModel respModel);

    //用户下线
    void delUser(ReqModel reqModel, RespModel respModel);

    //新增群组
    void addGroup(ReqModel reqModel, RespModel respModel);

    //加入群组
    void joinGroup(ReqModel reqModel, RespModel respModel);

    //发送群组消息
    void sendGroupMsg(ReqModel reqModel, RespModel respModel);

    //细聊
    void sendPrivateMsg(ReqModel reqModel, RespModel respModel);
}
